home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / u_man / cat1 / osview.z / osview
Encoding:
Text File  |  2002-10-03  |  16.4 KB  |  331 lines

  1.  
  2.  
  3.  
  4. oooossssvvvviiiieeeewwww((((1111))))                                                            oooossssvvvviiiieeeewwww((((1111))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      osview - monitor operating system activity data
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      oooossssvvvviiiieeeewwww [[[[----iiiin]]]] [[[[----nnnnn]]]] [[[[----ssss]]]] [[[[----aaaa]]]] [[[[----cccc]]]]
  13.  
  14. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  15.      _o_s_v_i_e_w monitors various portions of the activity of the operating system
  16.      and displays them using the full screen capabilities of the current
  17.      terminal.
  18.  
  19.      A large number of activity counters are monitored, and the display may be
  20.      dynamically altered to hide or show only those counters in which the user
  21.      is interested.  The default is no longer to display all the statistics
  22.      initially, instead there is a selection menu at the bottom of the
  23.      display; enter the number of the selection to switch displays.  See the
  24.      _----_aaaa option for the older behavior.  It is assumed that the _o_s_v_i_e_w user is
  25.      somewhat familiar with the internal workings of an AT&T V.4 based kernel.
  26.  
  27.      _o_s_v_i_e_w lays out as much information as possible in the screen area
  28.      available.  Each data item is grouped similarly to the grouping shown by
  29.      _s_a_r(_1).  A header line gives the group name, and members of the group are
  30.      indented below along with the one-second average value over the last
  31.      interval (or total value over the interval; see below).  If a graphics
  32.      subsystem is not present on the machine being monitored, _o_s_v_i_e_w
  33.      suppresses all graphics related statistics in the display.
  34.  
  35.      The ----iiii parameter sets the delay between screen updates in seconds.  By
  36.      default, a 5 second rate is used.  The ----nnnn parameter is used to override
  37.      the default number of lines to use, which is usually the entire size of
  38.      the display area.  This can be useful if the display is called up in a
  39.      long window, to keep the counters grouped together at the top of the
  40.      window.  The ----ssss option informs _o_s_v_i_e_w to not reduce relevant values to
  41.      the average over a second.  One second averaging allows instant
  42.      performance estimates, but may show inaccuracies because of the short
  43.      interval involved.  The ----aaaa option gives behavior like the older versions,
  44.      with all possible statistics displayed at once (the same as the 0000 option
  45.      on the selection line, if this option isn't given.  The ----cccc option causes
  46.      a running count to be displayed, rather than an interval count.  The
  47.      counts can be reset to zero by pressing the CCCC key.
  48.  
  49.      In general, those parameters dealing with data throughput rather than
  50.      events are presented as the number of bytes involved.  For instance,
  51.      memory usage is reported in bytes, as well as buffer cache traffic.
  52.      Those parameters dealing with events to the system, such as page fault
  53.      activity, interrupts or system activity are reported as actual counts.
  54.      This allows an instant estimate of the activity and throughput of the
  55.      system.
  56.  
  57.      A group can be suppressed along with all its members to allow hidden
  58.      groups to be brought into view if the screen area is too small.  This is
  59.      done by moving the cursor over the header line of the group to suppress
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. oooossssvvvviiiieeeewwww((((1111))))                                                            oooossssvvvviiiieeeewwww((((1111))))
  71.  
  72.  
  73.  
  74.      and typing a suppression character.  The cursor may be positioned in any
  75.      of the standard ways; keyboard arrow keys, the h-j-k-l keys, or the
  76.      backspace-return-tab keys.  _o_s_v_i_e_w highlights the line the cursor is on
  77.      unless the cursor is on the top screen line (which is reserved for status
  78.      information).  When positioned over a group name, typing the DDDD character
  79.      or one of the _d_e_l_e_t_e keys on the keyboard will suppress the group.  The
  80.      group name will remain, with an asterisk (*) prefix to indicate that the
  81.      group has been suppressed.  The group may be expanded again by
  82.      positioning the cursor over the group name and typing the IIII character or
  83.      one of the _i_n_s_e_r_t keys on the keyboard.  The _h_o_m_e key moves the cursor to
  84.      the _o_s_v_i_e_w status line.
  85.  
  86. OOOOVVVVEEEERRRRVVVVIIIIEEEEWWWW
  87.      The information which _o_s_v_i_e_w displays and how to interpret it is given
  88.      below.  See the documentation for _s_a_r(_1) or _g_r__o_s_v_i_e_w(_1) for additional
  89.      information.  Some headers, including _S_w_a_p, and _I_n_t_e_r_r_u_p_t_s are suppressed
  90.      by default.  See above description of how to get them to display.  Some
  91.      headers, including _P_a_t_h_N_a_m_e _C_a_c_h_e, _E_f_s_A_c_t, and _G_e_t_b_l_k contain information
  92.      that is subject to change and is of use primarily by IRIX development
  93.      groups.  Tiles information is only displayed if the kernel supports that
  94.      feature.
  95.  
  96.      Load Average
  97.         These counters give load average over the last minute, 5 minutes and
  98.         15 minutes.
  99.  
  100.      CPU Usage
  101.         These counters display the proportion of the available processor
  102.         cycles which were used by each of the following activities.  If
  103.         multiple processors are present, then the CPU number will be added to
  104.         the header line.
  105.  
  106.         uuuusssseeeerrrr      - user programs
  107.         ssssyyyyssss       - system on behalf of user
  108.         iiiinnnnttttrrrr      - interrupt handling
  109.         ggggffffxxxxcccc      - graphics context switching
  110.         ggggffffxxxxffff      - waiting on graphics input FIFO
  111.         ssssxxxxbbbbrrrrkkkk     - waiting for memory
  112.         iiiiddddlllleeee      - doing nothing
  113.  
  114.      Wait Ratio
  115.         These counters display the proportion of time no processes were
  116.         available to run, and any processes were waiting for I/O to complete.
  117.  
  118.         %%%%IIIIOOOO       - waiting on IO
  119.         %%%%SSSSwwwwaaaapppp     - waiting on swap IO
  120.         %%%%PPPPhhhhyyyyssssiiiioooo   - waiting on physical IO
  121.  
  122.      System Memory
  123.  
  124.         PPPPhhhhyyyyssss      - physical memory size
  125.          kkkkeeeerrrrnnnneeeellll   - memory consumed by kernel text and data
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136. oooossssvvvviiiieeeewwww((((1111))))                                                            oooossssvvvviiiieeeewwww((((1111))))
  137.  
  138.  
  139.  
  140.           hhhheeeeaaaapppp    - part of kernel used by heap
  141.            ssssttttrrrreeeeaaaammmm - part of heap used by streams
  142.           zzzzoooonnnneeee    - part of kernel used by zone allocator
  143.           ppppttttbbbbllll    - part of kernel used by process page tables
  144.          ffffssss ccccttttllll   - memory holding filesystem meta-data
  145.          ffffssss ddddaaaattttaaaa  - memory holding filesystem file data
  146.           ddddeeeellllwwwwrrrriiii  - modified filesystem file data
  147.          ffffrrrreeeeeeee     - memory not in use
  148.          uuuusssseeeerrrrddddaaaattttaaaa - in use holding valid user data
  149.          ppppggggaaaalllllllloooocccc  - physical pages allocated from free pool
  150.  
  151.      System Activity
  152.  
  153.         ssssyyyyssssccccaaaallllllll   - system calls
  154.          rrrreeeeaaaadddd     - read system calls
  155.          wwwwrrrriiiitttteeee    - write system calls
  156.          ffffoooorrrrkkkk     - fork system calls
  157.          eeeexxxxeeeecccc     - exec system calls
  158.         rrrreeeeaaaaddddcccchhhh    - characters read via read()
  159.         wwwwrrrriiiitttteeeecccchhhh   - characters written via write()
  160.         iiiiggggeeeetttt      - efs inode searches
  161.  
  162.      Block Devices
  163.  
  164.         llllrrrreeeeaaaadddd     - amount of logical buffer reads
  165.         bbbbrrrreeeeaaaadddd     - amount of physical buffer reads
  166.         %%%%rrrrccccaaaacccchhhheeee   - read hit ratio on buffer cache
  167.         llllwwwwrrrriiiitttteeee    - amount of logical buffer writes
  168.         bbbbwwwwrrrriiiitttteeee    - amount of physical buffer writes
  169.         wwwwccccaaaannnncccceeeellll   - amount of delayed writes cancelled
  170.         %%%%wwwwccccaaaacccchhhheeee   - write hit ratio; negative for write-behind
  171.         pppphhhhrrrreeeeaaaadddd    - amount of raw physical reads
  172.         pppphhhhwwwwrrrriiiitttteeee   - amount of raw physical writes
  173.  
  174.      Swap
  175.  
  176.         ffffrrrreeeeeeeesssswwwwaaaapppp  - amount of free physical swap
  177.         vvvvsssswwwwaaaapppp     - amount of free virtual swap
  178.         sssswwwwaaaappppiiiinnnn    - page swapins
  179.         sssswwwwaaaappppoooouuuutttt   - page swapouts
  180.         bbbbsssswwwwaaaappppiiiinnnn   - bytes swapped in
  181.         bbbbsssswwwwaaaappppoooouuuutttt  - bytes swapped out
  182.  
  183.      System VM
  184.  
  185.         DDDDyyyynnnnaaaammmmiiiicccc VVVVMMMM     - total dynamic system VM
  186.          aaaavvvvaaaaiiiillll    - system VM available
  187.          iiiinnnn uuuusssseeee   - system VM in use
  188.           ffffssss ddddaaaattttaaaa - in use by FS buffer cache
  189.          aaaallllllllooooccccssss   - pages of system VM allocated
  190.          ffffrrrreeeeeeeessss    - pages of system VM freed
  191.  
  192.  
  193.  
  194.  
  195.                                                                         PPPPaaaaggggeeee 3333
  196.  
  197.  
  198.  
  199.  
  200.  
  201.  
  202. oooossssvvvviiiieeeewwww((((1111))))                                                            oooossssvvvviiiieeeewwww((((1111))))
  203.  
  204.  
  205.  
  206.      Memory Faults
  207.  
  208.         vvvvffffaaaauuuulllltttt    - page faults
  209.         ppppffffaaaauuuulllltttt    - protection faults
  210.         ddddeeeemmmmaaaannnndddd    - demand zero and demand fill faults
  211.         ccccwwww        - copy-on write faults
  212.         sssstttteeeeaaaallll     - page steals
  213.         oooonnnnsssswwwwaaaapppp    - page found on swap
  214.         oooonnnnccccaaaacccchhhheeee   - page found in page cache
  215.         oooonnnnffffiiiilllleeee    - page read from file
  216.         ffffrrrreeeeeeeedddd     - pages freed by paging daemon
  217.         uuuunnnnmmmmooooddddsssswwwwaaaapppp - clean swap page, dirty incore page
  218.         uuuunnnnmmmmooooddddffffiiiilllleeee - clean file page, dirty incore page
  219.         iiiicccclllleeeeaaaannnn    - number of icache cleans
  220.  
  221.      TLB Actions
  222.  
  223.         nnnneeeewwwwppppiiiidddd    - new process ID allocated
  224.         ttttffffaaaauuuulllltttt    - second level TLB misses
  225.         rrrrffffaaaauuuulllltttt    - reference faults (during paging)
  226.         fffflllluuuusssshhhh     - flush of entire TLB
  227.         ssssyyyynnnncccc      - cross-processor TLB synchronizations
  228.  
  229.      Graphics
  230.  
  231.         ggggrrrriiiiiiiiooooccccttttllll  - graphics ioctl's
  232.         ggggiiiinnnnttttrrrr     - graphics interrupts
  233.         sssswwwwaaaappppbbbbuuuuffff   - swapbuffer completes
  234.         sssswwwwiiiittttcccchhhh    - context switches
  235.         ffffiiiiffffoooowwwwaaaaiiiitttt  - wait on FIFO
  236.         ffffiiiiffffoooonnnnwwwwaaaaiiiitttt - wait on FIFO, below low-water mark on check
  237.  
  238.      Tiles
  239.  
  240.         ttttaaaavvvvaaaaiiiillll    - tiles available, no locked pages
  241.          aaaavvvvffffrrrreeeeeeee   - free pages in available tiles
  242.         ttttffffrrrraaaagggg     - tiles fragmented with locked pages
  243.          ffffrrrraaaagggglllloooocccckkkk - locked pages within tfrags
  244.          ffffrrrraaaaggggffffrrrreeeeeeee - free pages within tfrags
  245.         ttttffffuuuullllllll     - tiles full, all pages locked
  246.          ttttttttiiiilllleeee    - tiles allocated
  247.         ppppgggglllloooocccckkkkssss   - tile page locks
  248.         ttttaaaallllllllooooccccmmmmvvvv  - pages relocated for tile_alloc
  249.         ttttiiiilllleeeeddddmmmmvvvv   - pages relocated by tiled daemon
  250.  
  251.      TCP
  252.  
  253.         ccccoooonnnnnnnnssss     - connections accepted
  254.         ssssnnnnddddttttoooottttaaaallll  - packets sent
  255.         rrrrccccvvvvttttoooottttaaaallll  - packets received
  256.         ssssnnnnddddbbbbyyyytttteeee   - bytes sent
  257.         rrrrccccvvvvbbbbyyyytttteeee   - bytes received
  258.  
  259.  
  260.  
  261.                                                                         PPPPaaaaggggeeee 4444
  262.  
  263.  
  264.  
  265.  
  266.  
  267.  
  268. oooossssvvvviiiieeeewwww((((1111))))                                                            oooossssvvvviiiieeeewwww((((1111))))
  269.  
  270.  
  271.  
  272.      UDP
  273.  
  274.         iiiippppaaaacccckkkkeeeettttssss  - packets received
  275.         ooooppppaaaacccckkkkeeeettttssss  - packets sent
  276.         ddddrrrrooooppppppppeeeedddd   - packets dropped
  277.         eeeerrrrrrrroooorrrrssss    - input errors
  278.  
  279.      IP
  280.  
  281.         iiiippppaaaacccckkkkeeeettttssss  - packets received
  282.         ooooppppaaaacccckkkkeeeettttssss  - packets sent
  283.         ffffoooorrrrwwwwaaaarrrrdddd   - packets forwarded
  284.         ddddrrrrooooppppppppeeeedddd   - output errors
  285.         eeeerrrrrrrroooorrrrssss    - input errors
  286.  
  287.      NetIF
  288.         These counters display the activity on a particular network interface.
  289.         If multiple interfaces are present, than a separate set of counters is
  290.         displayed for each interface.  The interface name is displayed as part
  291.         of the header.
  292.  
  293.         IIIIppppaaaacccckkkkeeeettttssss  - packets received
  294.         OOOOppppaaaacccckkkkeeeettttssss  - packets transmitted
  295.         IIIIeeeerrrrrrrroooorrrrssss   - packets received in error
  296.         OOOOeeeerrrrrrrroooorrrrssss   - errors transmitting a packet
  297.         ccccoooolllllllliiiissssiiiioooonnnnssss- collisions detected
  298.  
  299.      Scheduler
  300.  
  301.         rrrruuuunnnnqqqq      - number of processes on run queue
  302.         sssswwwwaaaappppqqqq     - number of processes on swap queue
  303.         sssswwwwiiiittttcccchhhh    - context switches
  304.  
  305.      Interrupts
  306.  
  307.         aaaallllllll       - total interrupts handled
  308.         vvvvmmmmeeee       - VMEBus interrupts
  309.  
  310. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  311.      _gggg_rrrr______oooo_ssss_vvvv_iiii_eeee_wwww(1), _tttt_oooo_pppp(1), _ssss_aaaa_rrrr(1).
  312.  
  313. BBBBUUUUGGGGSSSS
  314.      _o_s_v_i_e_w cannot atomically get all the data it needs.  On a very busy
  315.      system, some percentages could sum to greater than 100, since there could
  316.      be a gap between the time _o_s_v_i_e_w reads the current time and when it reads
  317.      the data counters.
  318.  
  319.  
  320.  
  321.  
  322.  
  323.  
  324.  
  325.  
  326.  
  327.                                                                         PPPPaaaaggggeeee 5555
  328.  
  329.  
  330.  
  331.